a,b=1,2
print(a==1 and b==2)  #TRUE    TRUE AND TRUE = TUEU
print(a==1 and b<2)   #False   True and False = False
print(a!=1 and b==2)   #False  True and false =false
print(a!=1 and b!=2)   #false  false and false =false


print('-----------or 或者-------------')
print(a==1 or b==2)  #true or true =true
print(a==1 or b<2)   #true or false =true
print(a!=1 or b==2)  #true or false =true
print(a!=1 or b!=2)  #false or false =false


print('-----------in 与 not in-------------')
s='helloworld'
print('w' in s)
print('k' in s)
print('w' not in s)
print('k' not in s )